<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box1{
            width: 912px;
            height: 600px;
            margin: 0 auto;
            /* background-color: yellow; */
        }
        .box2{
            width: 275px;
            height: 275px;
            border: 6px solid #cccccc;
            position: relative;
            float: left;
            margin-right: 25px;
            margin-bottom: 25px;
        }
        .box2 .pic{
            width: 100%;
            height: 100%;
            
        }
        .box2 .icon{
            position: absolute;
            right: 0px;
            bottom: 0px;
        }
        .box2 .greenicon{
            display:none;
        }
        .box2:hover .greenicon{
            display: block;
        }
        .box2 p img{
            width: 20px;
        }
        .box2 p{
            position: absolute;
            left: 0px;
            top: 0px;
            color: black;
            padding: 7px 5px;
            display: none;
        }
        .box2:hover p{
            display: block;
        }
        .box2:hover .pic{
            opacity: 0.7;   /*图片半透明*/
        }
        .rightpic{
            margin-right: 0px;
        }
    </style>
</head>
<body>
    <div class="box1">
        <div class="box2">
            <img src="touxiang.png" alt="" class="pic">
            <img src="激活.png" alt="" class="icon">
            <img src="激活2.0.png" alt="" class="icon greenicon">
            <p>
                <img src="../../img/图片/手指.jpg" alt="">
                <span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eligendi iste saepe fuga ea placeat omnis modi, alias optio architecto, quis voluptatem sunt, id commodi voluptate error sed consequatur ipsa adipisci.</span>
            </p>
        </div>
        <div class="box2">
            <img src="touxiang.png" alt="" class="pic">
            <img src="激活.png" alt="" class="icon">
            <img src="激活2.0.png" alt="" class="icon greenicon">
            <p>
                <img src="../../img/图片/手指.jpg" alt="">
                <span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eligendi iste saepe fuga ea placeat omnis modi, alias optio architecto, quis voluptatem sunt, id commodi voluptate error sed consequatur ipsa adipisci.</span>
            </p>
        </div>
        <div class="box2 rightpic">
            <img src="touxiang.png" alt="" class="pic">
            <img src="激活.png" alt="" class="icon">
            <img src="激活2.0.png" alt="" class="icon greenicon">
            <p>
                <img src="../../img/图片/手指.jpg" alt="">
                <span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eligendi iste saepe fuga ea placeat omnis modi, alias optio architecto, quis voluptatem sunt, id commodi voluptate error sed consequatur ipsa adipisci.</span>
            </p>
        </div>
        <div class="box2">
            <img src="touxiang.png" alt="" class="pic">
            <img src="激活.png" alt="" class="icon">
            <img src="激活2.0.png" alt="" class="icon greenicon">
            <p>
                <img src="../../img/图片/手指.jpg" alt="">
                <span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eligendi iste saepe fuga ea placeat omnis modi, alias optio architecto, quis voluptatem sunt, id commodi voluptate error sed consequatur ipsa adipisci.</span>
            </p>
        </div>
        <div class="box2">
            <img src="touxiang.png" alt="" class="pic">
            <img src="激活.png" alt="" class="icon">
            <img src="激活2.0.png" alt="" class="icon greenicon">
            <p>
                <img src="../../img/图片/手指.jpg" alt="">
                <span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eligendi iste saepe fuga ea placeat omnis modi, alias optio architecto, quis voluptatem sunt, id commodi voluptate error sed consequatur ipsa adipisci.</span>
            </p>
        </div>
        <div class="box2 rightpic">
            <img src="touxiang.png" alt="" class="pic">
            <img src="激活.png" alt="" class="icon">
            <img src="激活2.0.png" alt="" class="icon greenicon">
            <p>
                <img src="../../img/图片/手指.jpg" alt="">
                <span>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eligendi iste saepe fuga ea placeat omnis modi, alias optio architecto, quis voluptatem sunt, id commodi voluptate error sed consequatur ipsa adipisci.</span>
            </p>
        </div>
    </div>
</body>
</html>